<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			div{
				float: left;
				width: 100px;
				height: 100px;
			}
			.div1{
				background-color: greenyellow;
				float: right;
			}
			.div2{
				background-color: yellow;
				float: right;
			}
		</style>
	</head>
	<body>
		<div class="div1">我是块级元素div1</div>
		<div class="div2">我是块级元素div2</div>
	</body>
</html>
